<template>
  <div class="NavBar">
    <div class="left">
      <div v-if="leftFlag">
        <span>&lt;</span>
        <span>{{ left }}</span>
      </div>
    </div>
    <div class="center">{{ center }}</div>
    <div class="right">
      <div v-if="rightFlag">
        <span>{{ right }}</span>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'NavBar',
  props: {
    left: {
      type: String
    },
    center: {
      type: String
    },
    right: {
      type: String
    },
    leftFlag: {
      type: Boolean
    },
    rightFlag: {
      type: Boolean
    }
  },
  data () {
    return {

    }
  },
  created () {
  },
  computed: {
  },
  methods: {
  }
}
</script>
<style   scoped>
.NavBar {
  display: flex;
  justify-content: space-between;
}
</style>
